//
//  PlayerSearchViewController.h
//  SportsApp
//
//  Created by Matthew Moritz on 2012-12-05.
//  Copyright (c) 2012 Matthew Moritz. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface PlayerSearchViewController : UIViewController {

    UITextField *searchTextBox;
}

@property (strong, nonatomic) IBOutlet UITextField *searchTextBox;

@property (strong, nonatomic) IBOutlet UIImageView *playerPhoto;

@property (strong, nonatomic) IBOutlet UITableView *playerInfoTable;

@property (strong, nonatomic) IBOutlet UITableView *playerStatTable;

@property (strong, nonatomic) NSMutableDictionary *playerEntries;
@property (strong, nonatomic) NSString *playerName;

- (IBAction)updatePressed:(id)sender;

@property (strong, nonatomic) IBOutlet UILabel *totalPoints;
@property (strong, nonatomic) IBOutlet UILabel *totalGoals;
@property (strong, nonatomic) IBOutlet UILabel *totalAssists;
@property (strong, nonatomic) IBOutlet UILabel *totalPims;

@property (strong, nonatomic) IBOutlet UIStepper *stepper;
@property (strong, nonatomic) NSString *currentSeason;
@property (strong, nonatomic) IBOutlet UILabel *seasonLabel;

- (IBAction)changeSeason:(id)sender;
- (IBAction)textFieldDoneEditing:(id)sender;
- (IBAction)backgroundTap:(id)sender;
@end
